package com.yami.shop.bean.app.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yami.shop.bean.model.User;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 动态记录
 * </p>
 *
 * @author chajiu
 * @since 2021-06-28
 */
@Data
@ApiModel(value = "PostRecord对象", description = "动态记录")
public class PostRecordDto implements Serializable {

    /*@ApiModelProperty(value = "用户")
    private User user;*/

    @ApiModelProperty(value = "距离")
    private Double distance;

    @ApiModelProperty(value = "动态id")
    private String id;

    @ApiModelProperty(value = "是否喜欢该动态了 1喜欢 0不喜欢")
    private Integer isLiked;

    @ApiModelProperty(value = "文本内容")
    private String content;

    @ApiModelProperty(value = "图片 逗号连接")
    private String pics;

    @ApiModelProperty(value = "用户id")
    private String userId;

    @ApiModelProperty(value = "用户昵称")
    private String nickName;

    @ApiModelProperty(value = "用户头像")
    private String Pic;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "1正常 2禁止显示")
    private Integer status;

    @ApiModelProperty(value = "操作备注")
    private String comment;

    @ApiModelProperty(value = "操作人")
    private String operator;

    @ApiModelProperty(value = "喜欢该动态的数量")
    private Integer likeNum;

    @ApiModelProperty(value = "0未删除 1已删除")
    private Integer isDel;

    @ApiModelProperty(value = "年龄")
    private Integer age;

    @ApiModelProperty(value = "性别")
    private String sex;


}
